package com.zhangt.dao;

import com.zhangt.domain.User;

import java.util.List;

public interface IUserDao {

    List<User> selectList() throws Exception;

    User findByCondition(User user) throws Exception;

    int deleteById(Integer id) throws Exception;

    int insertNew(User user) throws Exception;

    int updateUser(User user) throws Exception;
}
